package datatypes.r2.foundation.impl;

import datatypes.r2.foundation.BL;
import datatypes.r2.foundation.COMP;
import datatypes.r2.foundation.TYPE;

/**
 * The data type of the comparator.
 * 
 * Every comparator implicitly carries information about its own data type.
 * 
 * @author Obama
 * 
 * @param <T>
 */
public class Comparator<T> implements COMP<T> {

	java.util.Comparator<T> comparator;

	/**
	 * The data type of the comparator.
	 * 
	 * Every comparator implicitly carries information about its own data type.
	 */
	@Override
	public TYPE dataType() {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * The result of comparing the two elements.
	 * 
	 * Like the equality relationship, comparison is a reflexive, symmetric, and
	 * transitive relationship between any two data values.
	 */
	@Override
	public BL compare(T element1, T element2) {
		// TODO Auto-generated method stub
		return null;
	}

	public java.util.Comparator<T> getComparator() {
		return comparator;
	}

	public void setComparator(java.util.Comparator<T> comparator) {
		this.comparator = comparator;
	}

}
